package test.enba.mq.consumer.rabbitmq.direct;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class DirectExchangeConfig {

  // 定义队列
  @Bean
  public Queue directQueue() {
    return new Queue("direct-queue");
  }


  /*
  *
  * */
}
